<template>
  <div class="home-title">
    <p>{{ title }}</p>
  </div>
</template>

<script>
export default {
  props: {
    title: {
      type: String,
      default () {
        return '一线生活通'
      }
    }
  }
}
</script>

<style lang="scss" scoped>
.home-title {
  height: .5rem;
  line-height: .5rem;
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  margin-top: .1rem;
  padding-left: .15rem;
  box-sizing: border-box;

  p {
    color: #000;
    font-size: .18rem;
  }
}
</style>